define(['swiper'],(Swiper)=>{
  var mySwiper = new Swiper ('.swiper-container', {
    loop: true,
    
    // 如果需要分页器
    pagination: '.swiper-pagination',
    paginationClickable :true,
    paginationType : 'bullets',

    // 如果需要前进后退按钮
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    

    // autoplay: true,
    autoplay: 2500,
    // 如果需要滚动条
    // scrollbar: '.swiper-scrollbar',
})          
});